import request from '@/utils/request.js'

/* 商品列表请求 */

// 
export function getShopCanAjax(cateId) {
    return request.get(`categories/${cateId}/attributes`,{
        params:{
            sel: 'many'
        }
    });
}
export function getShopCanAjax2(cateId) {
    return request.get(`categories/${cateId}/attributes`,{
        params:{
            sel: 'only'
        }
    });
}

export function getAddFromAjax(form) {
    return request.post('goods',form)
}




